﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace SF.Common
{
    public class DTEnums
    {
        /// <summary>
        /// 统一管理操作枚举
        /// </summary>
        public enum ActionEnum
        {
            /// <summary>
            /// 所有
            /// </summary>
            All,
            /// <summary>
            /// 显示
            /// </summary>
            Show,
            /// <summary>
            /// 查看
            /// </summary>
            View,
            /// <summary>
            /// 添加
            /// </summary>
            Add,
            /// <summary>
            /// 修改
            /// </summary>
            Edit,
            /// <summary>
            /// 删除
            /// </summary>
            Delete,
            /// <summary>
            /// 上架
            /// </summary>
            OnShelf,
            /// <summary>
            /// 下架
            /// </summary>
            OffShelf,
            /// <summary>
            /// 审核
            /// </summary>
            Audit,
            /// <summary>
            /// 回复
            /// </summary>
            Reply,
            /// <summary>
            /// 确认
            /// </summary>
            Confirm,
            /// <summary>
            /// 取消
            /// </summary>
            Cancel,
            /// <summary>
            /// 作废
            /// </summary>
            Invalid,
            /// <summary>
            /// 生成
            /// </summary>
            Build,
            /// <summary>
            /// 安装
            /// </summary>
            Instal,
            /// <summary>
            /// 卸载
            /// </summary>
            UnLoad,
            /// <summary>
            /// 登录
            /// </summary>
            Login,
            /// <summary>
            /// 备份
            /// </summary>
            Back,
            /// <summary>
            /// 还原
            /// </summary>
            Restore,
            /// <summary>
            /// 替换
            /// </summary>
            Replace,
            /// <summary>
            /// 复制
            /// </summary>
            Copy
        }

        /// <summary>
        /// 系统导航菜单类别枚举
        /// </summary>
        public enum NavigationEnum
        {
            /// <summary>
            /// 系统后台菜单
            /// </summary>
            System,
            /// <summary>
            /// 会员中心导航
            /// </summary>
            Users,
            /// <summary>
            /// 网站主导航
            /// </summary>
            WebSite
        }

        /// <summary>
        /// 用户生成码枚举
        /// </summary>
        public enum CodeEnum
        {
            /// <summary>
            /// 注册验证
            /// </summary>
            RegVerify,
            /// <summary>
            /// 邀请注册
            /// </summary>
            Register,
            /// <summary>
            /// 取回密码
            /// </summary>
            Password
        }

        /// <summary>
        /// 金额类型枚举
        /// </summary>
        public enum AmountTypeEnum
        {
            /// <summary>
            /// 系统赠送
            /// </summary>
            SysGive,
            /// <summary>
            /// 在线充值
            /// </summary>
            Recharge,
            /// <summary>
            /// 用户消费
            /// </summary>
            Consumption,
            /// <summary>
            /// 购买商品
            /// </summary>
            BuyGoods,
            /// <summary>
            /// 积分兑换
            /// </summary>
            Convert
        }

        /// <summary>
        /// 支付状态
        /// </summary>
        public enum PayStatusEnum
        {
            /// <summary>
            /// 待支付
            /// </summary>
            [Description("待支付")]
            ToPay,
            /// <summary>
            /// 已支付
            /// </summary>
            [Description("已支付")]
            DonePay,
            ///// <summary>
            ///// 待退款
            ///// </summary>
            //ToRefund,
            ///// <summary>
            ///// 已退款
            ///// </summary>
            //DoneRefund
        }

        /// <summary>
        /// 支付方式
        /// </summary>
        public enum PayWayEnum
        {
            /// <summary>
            /// 微信支付
            /// </summary>
            [Description("微信支付")]
            WxPay,
            /// <summary>
            /// 银联支付
            /// </summary>
            [Description("银联支付")]
            BankPay,
            /// <summary>
            /// 货到付款
            /// </summary>
            [Description("货到付款")]
            Cod
        }

        /// <summary>
        /// 快递状态
        /// </summary>
        public enum ExpressStatusEnum
        {
            /// <summary>
            /// 待发货
            /// </summary>
            [Description("待发货")]
            ToSend,
            /// <summary>
            /// 已发货
            /// </summary>
            [Description("已发货")]
            DoneSend
        }

        /// <summary>
        /// 订单状态
        /// </summary>
        public enum OrderStatusEnum
        {
            /// <summary>
            /// 正常
            /// </summary>
            [Description("正常")]
            Normal,
            /// <summary>
            /// 取消
            /// </summary>
            [Description("取消")]
            Cancel
        }

        /// <summary>
        /// 结算状态
        /// </summary>
        public enum BalanceStatusEnum
        {
            /// <summary>
            /// 待结算
            /// </summary>
            [Description("待结算")]
            ToBalance,
            /// <summary>
            /// 已结算
            /// </summary>
            [Description("已结算")]
            DoneBalance
        }

        /// <summary>
        /// 确认状态
        /// </summary>
        public enum ConfirmStatusEnum
        {
            /// <summary>
            /// 待确认
            /// </summary>
            [Description("待确认")]
            ToConfirm,
            /// <summary>
            /// 已确认
            /// </summary>
            [Description("已确认")]
            DoneConfirm
        }

        /// <summary>
        /// 商品热度枚举
        /// </summary>
        public enum GoodHotEnum
        {
            [Description("新品上架")]
            newGood,
            [Description("精选商品")]
            choiceGood,
            [Description("特惠商品")]
            preferentialGood
        }
    }
}
